package com.cmes.system.api.bo;

import com.cmes.core.domain.GenericBO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * 用户基本信息
 *
 * @author Bruce.Gong
 * @since 1.0.0-SNAPSHOT
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserProfileBO extends GenericBO {

    @NotEmpty(message = "姓名不能为空")
    private String nickname;
    private String mobile;
    private String email;
    private Integer gender;

}
